//
//  PicViewController.m
//  FoodFamily
//
//  Created by dlios on 15-6-22.
//  Copyright (c) 2015年 guoBang. All rights reserved.
//

#import "PicViewController.h"

@interface PicViewController ()

@end

@implementation PicViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor blackColor];
    
    self.imageV = [[UIImageView alloc]initWithFrame:CGRectMake(25, 80, WIDTH-52, HEIGHT-290)];
    
    self.imageV.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.imageV];
    self.imageV.userInteractionEnabled = YES;
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapAction)];
    [self.imageV addGestureRecognizer:tap];
//    tap.numberOfTapsRequired = 2;
    [tap release];
    
    
    
    
       
    
    // Do any additional setup after loading the view.
}

-(void)tapAction{

    [self.MyDelegate bringButton1];

}


-(void)dealloc{
    [_imageV release];
    [super dealloc];

}














- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
